﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace RTW.Core.Entity
{
    [JsonObject(MemberSerialization.OptIn)]
    public  class bootstrapTableJson<T> where T : class
    {

        public bootstrapTableJson((long,List<T>)list)
        {
            total = list.Item1;
            rows = list.Item2;
        }
        [JsonProperty]
        long total { get; set; }
        [JsonProperty]
        List<T> rows { get; set; }
    }
}
